package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.WorkflowBusinessNodeDTO;
import com.hunttown.mes.rpc.domain.query.WorkflowBusinessNodeDTOQuery;

/**
 * created by wangjunfu on 2019-08-01 15:48:40
 */
public interface WorkflowBusinessNodeRpcService {

    WorkflowBusinessNodeDTO insert(WorkflowBusinessNodeDTO workflowBusinessNodeDTO);

    Boolean updateInfoById(WorkflowBusinessNodeDTO workflowBusinessNodeDTO);

    Boolean updateInfoByQuery(WorkflowBusinessNodeDTOQuery workflowBusinessNodeDTOQuery);

    WorkflowBusinessNodeDTO selectById(Integer id);

    WorkflowBusinessNodeDTO selectObjByQuery(WorkflowBusinessNodeDTOQuery workflowBusinessNodeDTOQuery);

    Page<WorkflowBusinessNodeDTO> getListForPage(WorkflowBusinessNodeDTOQuery workflowBusinessNodeDTOQuery);

    Boolean deleteById(Integer id);
}